package com.sa07.db.dao;

import org.apache.log4j.Logger;

import com.sa07.db.Session;
import com.sa07.db.H2SessionFactory;

/**
 * basedao
 * 
 * @author Long.shangbo
 *
 * 2014-2-21 下午2:39:52
 */
public class H2BaseDao {
	
	protected static final Logger logger = Logger.getLogger(H2BaseDao.class);

	/**
	 * 创建Session
	 * @return
	 */
	protected Session createSession() {
		return H2SessionFactory.getFactory().createSession();
	}
}
